#ifndef __DAY07_H_
#define __DAY07_H_
#include <iostream>
using namespace std;
class door
{
 public:
    door();
   virtual ~door();

public:
virtual void open();

private:
    char *p;
    int a;
};

class doorA : public door
{
public:
    doorA();
    ~doorA () override ;

public:
    void open();

private:
    char *p;
};
class doorB : public door
{
public:
    doorB();
    ~doorB() override;

public:
    void open();
};

void fun_open(door &obj_door);

class T{
    public:
 virtual   void fun();
    // int a;
    // double b;

};
#endif
